<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<title>Js.widget.panel</title>
		<script type="text/javascript" src="../../lib/jquery/jquery.min.js"></script>
		<script type="text/javascript" src="../../lib/savvyui.js"></script>
		<script type="text/javascript" src="../unit-testing.js"></script>
		<link type="text/css" href="../../css/all.css" rel="stylesheet" media="all" />
	</head>
	<body>
		<h1>Js.widget.panel</h1>
		<div id="panel-container">
			
		</div>
		<script type="text/javascript">
		<!--
		
		jQuery(function() {
			Js.debug.enable = true;
			Js.setup.widget.panel({
				closable: false
			});
			var panel = new Js.widget.panel({
				element: "controller",
				renderTo: "#panel-container",
				title: "Hello world",
				content: "<div style='width:500px'><p>Some content</p><p>Some other content</p><pre>some.code.here</pre></div>",
				button: [
					{
						type: "submit",
						text: "Submit",
						callback: function () {
							alert("Submitting...");
							
							return true;
						}
					}
				]
			});
		});
		-->
		</script>
	</body>
</html>
